const http = require('http');

http.createServer((req,res)=>{
    res.end('hello webpack');
}).listen(3000)

console.log('server is listening 3000')